# uncompyle6 version 3.2.3
# Python bytecode 3.6 (3379)
# Decompiled from: Python 3.6.8 |Anaconda custom (64-bit)| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
# Embedded file name: helpers\pywsgi_extra\__init__.py
__author__ = "sanyi"
import gevent.pywsgi, socket as sck


class WSGIHandlerTcpNoDelay(gevent.pywsgi.WSGIHandler):
    def __init__(self, socket, address, server, rfile=None):
        socket.setsockopt(sck.IPPROTO_TCP, sck.TCP_NODELAY, 1)
        super().__init__(socket, address, server, rfile)
